from django.conf.urls import url

from apps.areas import views

urlpatterns = [
    url(r"^areas/$", views.AreasView.as_view(), name="areas"),
    url(r"^address/create/$", views.CreateAddressView.as_view(), name="createaddress"),
    url(r"^address/(?P<address_id>\d+)/$", views.UpdateDeleteView.as_view(), name="updatedelete"),
    url(r"^address/(?P<address_id>\d+)/default/$", views.DefaultAddressView.as_view(), name="defaultaddress"),
    url(r"^address/(?P<address_id>\d+)/title/$", views.TitleAddressView.as_view(), name="titleaddress"),
    url(r"^address/(?P<address_id>\d+)/title/$", views.TitleAddressView.as_view(), name="titleaddress"),


]
